Material, Section and Behavior update utility

Description

Due to fundamental changes in the application a few scripting APIs have changed. As a result, existing macro files/scripts that have been created or recorded in previous releases of the application might need to be upgraded. Specifically, if the macros contain Material, Section, or Behavior creation and/or modification commands.

If the macros do not contain these creation or modification commands, the macros should not have to be updated. It is expected that those macros will execute without error.

Please see: https://simcompanion.hexagon.com/customers/s/article/Whats-New-Apex-2022-4 for more information regarding the API changes.

File Path

Browse to a specific macro file on disk. The Macro Upgrade Utility will perform on that file only. It will create a backup copy of the original file and will update the macro to be compliant with new release of the application. Choose this option if a few macros need to be updated.

Graphical user interface, text, application, email

Description automatically generated

Folder Path

If several macros need to be updated, it is recommended to select the top-level folder where all the macros exist. The upgrade utility will upgrade all macro files in the folder and all its sub-folders recursively.

Graphical user interface, application, Word

Description automatically generated

Domain

The domain corresponds to the entities that need to be upgraded to the newly sanctioned and supported scripting APIs.

Select from one of the following options:

· All

· Behavior

· Field

· Material

· Property2D

· Property3D

If the domain selected is All , then all specific domains will be handled during upgrade process. If a specific entity is selected, then the other entities will not be updated.

All is recommended for most users.

Mission

The mission is the application that you are using the Macro file/script. Whether you are running Adams Modeler, Apex, or Generative Design, the scripts will need to be updated differently.

Select one of the following options:

· Adams Modeler

· Apex

· Generative Design